<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <base th:href="${#request.getContextPath() + '/'}"/>
    <meta charset="UTF-8">
    <title>logo管理</title>

    <script th:src="${#request.getContextPath() + '/webcon/resources/js/jquery-3.5.0.min.js'}"></script>
    <script th:src="${#request.getContextPath() + '/commons/js/mylogo.js'}"></script>

</head>
<body style="background-color: #9F9F9F">
    当前的logo: <img id="mylogo" src="/logo/logo.png"/>
    <br/>
    <br/>
    <form th:action="${#request.getContextPath() + '/logo/upload'}" method="post" enctype="multipart/form-data">
        上传logo：<input name="file" type="file"/>
        <button type="submit">提交</button>
    </form>
</body>
</html>